package com.minivision.fdiot.rest.param.faceset;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;
import org.springframework.web.multipart.MultipartFile;

import com.minivision.fdiot.common.AuthParam;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DetectAndAddFaceParam extends AuthParam {

  private static final long serialVersionUID = 9205545062946575212L;
  
  @NotNull(message = "imageFile must not be empty")
  @ApiModelProperty(value = "人脸照片文件", required = true)
  private MultipartFile imageFile;
  
  @NotBlank(message = "facesetToken must not be empty")
  @ApiModelProperty(value = "人脸库Token", required = true)
  private String facesetToken;

  @ApiModelProperty(value = "是否需要返回人脸坐标点", required = true)
  private boolean needFaceRectangle;

}
